﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using WinFormsGraphicsDevice;


namespace MegavaniaXLevelEditor
{
    public partial class MegavaniaXLevelEditorMain : Form
    {
        private string _currentlySelectedTileName;

        public string currentlySelectedTileName
        {
            get
            {
                return _currentlySelectedTileName;
            }
            set
            {
                _currentlySelectedTileName = value;
                lblCurrentTile.Text = value;
            }
        }

        public void MakeNewWorld()
        {
            levelEditorMainControl1.currentWorld = new MegavaniaX.World.World();
        }

        public void MakeNewScreen()
        {

        }


        public MegavaniaXLevelEditorMain()
        {
            InitializeComponent();
            levelEditorMainControl1.editor = this;
            tileListerControl1.editor = this;
        }
    }
}
